package com.woniu.park.controller.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class CommentForm {
    /**
     * 该评论的标记
     */
    private int commentTag;
    /**
     * 当前评论用户的id
     */
    private int commentUserId;
    /**
     * 回复评论用户的id
     */
    private int commentReplyUserId;
    /**
     * 评论内容
     */
    @NotEmpty
    private String commentContext;
    /**
     * 评论等级
     */
    private int commentLevel;
    /**
     * 当前评论所属车位id
     */
    @NotNull
    private int commentParkspaceId;
}
